package com.objectproject.main.service.subsystem.policy;

import java.util.ArrayList;

import com.objectproject.main.enumeration.ValueType;


public class PolicyAndConfigurationRepository {
	
	public final static int ROOT_OBJECT_ID = 1;
	public final static int ROOT_GROUP_ID = 1;
	public final static int ROOT_USER_ID = 1;
	public final static int NAME_PROPERTY_ID = 1;
	public final static int VIEW_MINI_MAX_SIZE = 1;//프로퍼티들 중 VIEW_MINI인 프로퍼티의 최대개수
	public final static int VIEW_SIMPLE_MAX_SIZE = 3;
	public final static int VIEW_CARD_MAX_SIZE = 4;
	public final static int VIEW_NORMAL_MAX_SIZE = 4;
	public final static int MAXIMUN_PROPERTY_SIZE = 20;
	public final static int SUBOBJECT_PAGING_SIZE = 100;
	public final static int COLLECTION_LISTING_SIZE = 100;
	public final static int DEFAULT_USER_POINT = 100;
	public final static ArrayList<ValueType> USER_NOT_USEABLE_VALUE_TYPES;
	public final static int MAXIMUM_SELECTION_LISTING = 31;//선택할 수 있는 값들의 인스턴스의 개수가 이것 이하일 때 HTML 셀렉션으로 보여줌
	
	static{
		USER_NOT_USEABLE_VALUE_TYPES = new ArrayList<ValueType>();
		USER_NOT_USEABLE_VALUE_TYPES.add(ValueType.COLLECTION);
	}

}
